<div #closeToggle class="modal fade fa-modal user-setting-modal" tabindex="-1" role="dialog" aria-labelledby="userCenterLabel">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h4 class="modal-title">{{params?.data}}指标用法与设置
          <!--<a href="javascript:;" class="modal-close fa fa-close pull-right" (click)="close($event)"></a>-->
        </h4>
      </div>
      <form [formGroup]="formGroup">
        <div class="modal-body">
          <div class="form">
            <div class="form-group" [formGroup]="formGroup" *ngFor="let line of params.args">
              <label [for]="line.key">
                <span *ngIf="intro_set.hasColor" style="height: 1em; width: 1em; display: inline-block" [style.backgroundColor]="line.color"></span>
                <input type="number" min="1" step="1" [id]="line.key" [formControlName]="line.key">{{intro_set?.labels[$index] || intro_set?.labels[0] || "日移动平均线"}}
              </label>
            </div>
          </div>
          <article #article>
          </article>
          <div class="modal-footer flex-space-around">
            <button class="btn btn-default" (click)="close($event)">取消</button>
            <button class="btn btn-primary" (click)="onSubmit($event)">确定</button>
          </div>
        </div>
      </form>
    </div>
  </div>
</div>